<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            height: 100px;
            width: 100px;
            border: 1px solid #000;
            background-image: url(./image/4.png);
            /* 1.使用px单位 量的时候是正值,写的时候用负值
            2.使用%  有负值
            3.使用 left,center,right/top,center,bottom 9个方位*/
            /* background-position: left center; */
            background-position: 80% 50%;
            background-repeat: no-repeat;
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>